#pragma once
#include <Windows.h>
#include <string>

class CyGUIText
{
private:
	INT _id;
	HWND _hwnd;

public:
	// parentHWND: the handle of the parent that contains the button
	// id: the id of the button
	CyGUIText(HWND parentHWND, INT id);
	~CyGUIText(void);

	// Set name for the button
	void SetText(const std::wstring& str);

	// Get name of the button
	// str: the string used to contain the name
	// return: the string above, for convenient purpose
	std::wstring& GetText(std::wstring& str) const;
};